﻿using System.Collections.Generic;
using System.Security.Principal;
using C3.Proto.Core.Model;


namespace C3.Proto.Core.Service
{
    public interface IUserService
    {
        TransactionResult LoginUser(string email, string password, bool keepme);
        void LogoutUser();
        User GetUserBy(int id);
        TransactionResult AddUser(string firstname, string lastname, string email, string password);
        TransactionResult EditUser(int id, string firstname, string lastname, string email, string password);
        User GetUserByEmail(string name);
        TransactionResult AddCSV(int id, string doctype);
    }
}
